<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>LIF041-Infographie:  Fichier source de /home/the-king/LIFO41/lifo41-tp-infographie/glut-3.7.6-bin_win/glut.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LIF041-Infographie</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('glut_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">glut.h</div>  </div>
</div>
<div class="contents">
<a href="glut_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __glut_h__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __glut_h__</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">/* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996, 1998. */</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="comment">/* This program is freely distributable without licensing fees  and is</span>
<a name="l00007"></a>00007 <span class="comment">   provided without guarantee or warrantee expressed or  implied. This</span>
<a name="l00008"></a>00008 <span class="comment">   program is -not- in the public domain. */</span>
<a name="l00009"></a>00009 
<a name="l00010"></a>00010 <span class="preprocessor">#if defined(_WIN32)</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="comment">/* GLUT 3.7 now tries to avoid including &lt;windows.h&gt;</span>
<a name="l00013"></a>00013 <span class="comment">   to avoid name space pollution, but Win32&#39;s &lt;GL/gl.h&gt; </span>
<a name="l00014"></a>00014 <span class="comment">   needs APIENTRY and WINGDIAPI defined properly. */</span>
<a name="l00015"></a>00015 <span class="preprocessor"># if 0</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>   <span class="comment">/* This would put tons of macros and crap in our clean name space. */</span>
<a name="l00017"></a>00017 <span class="preprocessor">#  define  WIN32_LEAN_AND_MEAN</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#  include &lt;windows.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor"># else</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>   <span class="comment">/* XXX This is from Win32&#39;s &lt;windef.h&gt; */</span>
<a name="l00021"></a>00021 <span class="preprocessor">#  ifndef APIENTRY</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#   define GLUT_APIENTRY_DEFINED</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#   if (_MSC_VER &gt;= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) || defined(__LCC__)</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#    define APIENTRY    __stdcall</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#   else</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#    define APIENTRY</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#   endif</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>   <span class="comment">/* XXX This is from Win32&#39;s &lt;winnt.h&gt; */</span>
<a name="l00030"></a>00030 <span class="preprocessor">#  ifndef CALLBACK</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#   if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) &amp;&amp; !defined(MIDL_PASS) || defined(__LCC__)</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#    define CALLBACK __stdcall</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#   else</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#    define CALLBACK</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#   endif</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>   <span class="comment">/* XXX Hack for lcc compiler.  It doesn&#39;t support __declspec(dllimport), just __stdcall. */</span>
<a name="l00038"></a>00038 <span class="preprocessor">#  if defined( __LCC__ )</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#   undef WINGDIAPI</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#   define WINGDIAPI __stdcall</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#  else</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>   <span class="comment">/* XXX This is from Win32&#39;s &lt;wingdi.h&gt; and &lt;winnt.h&gt; */</span>
<a name="l00043"></a>00043 <span class="preprocessor">#   ifndef WINGDIAPI</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#    define GLUT_WINGDIAPI_DEFINED</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#    define WINGDIAPI __declspec(dllimport)</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#   endif</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>   <span class="comment">/* XXX This is from Win32&#39;s &lt;ctype.h&gt; */</span>
<a name="l00049"></a>00049 <span class="preprocessor">#  ifndef _WCHAR_T_DEFINED</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> wchar_t;
<a name="l00051"></a>00051 <span class="preprocessor">#   define _WCHAR_T_DEFINED</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00055"></a>00055 <span class="comment">/* To disable automatic library usage for GLUT, define GLUT_NO_LIB_PRAGMA</span>
<a name="l00056"></a>00056 <span class="comment">   in your compile preprocessor options. */</span>
<a name="l00057"></a>00057 <span class="preprocessor"># if !defined(GLUT_BUILDING_LIB) &amp;&amp; !defined(GLUT_NO_LIB_PRAGMA)</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#  pragma comment (lib, &quot;winmm.lib&quot;)      </span><span class="comment">/* link with Windows MultiMedia lib */</span>
<a name="l00059"></a>00059 <span class="comment">/* To enable automatic SGI OpenGL for Windows library usage for GLUT,</span>
<a name="l00060"></a>00060 <span class="comment">   define GLUT_USE_SGI_OPENGL in your compile preprocessor options.  */</span>
<a name="l00061"></a>00061 <span class="preprocessor">#  ifdef GLUT_USE_SGI_OPENGL</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#   pragma comment (lib, &quot;opengl.lib&quot;)    </span><span class="comment">/* link with SGI OpenGL for Windows lib */</span>
<a name="l00063"></a>00063 <span class="preprocessor">#   pragma comment (lib, &quot;glu.lib&quot;)       </span><span class="comment">/* link with SGI OpenGL Utility lib */</span>
<a name="l00064"></a>00064 <span class="preprocessor">#   pragma comment (lib, &quot;glut.lib&quot;)      </span><span class="comment">/* link with Win32 GLUT for SGI OpenGL lib */</span>
<a name="l00065"></a>00065 <span class="preprocessor">#  else</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#   pragma comment (lib, &quot;opengl32.lib&quot;)  </span><span class="comment">/* link with Microsoft OpenGL lib */</span>
<a name="l00067"></a>00067 <span class="preprocessor">#   pragma comment (lib, &quot;glu32.lib&quot;)     </span><span class="comment">/* link with Microsoft OpenGL Utility lib */</span>
<a name="l00068"></a>00068 <span class="preprocessor">#   pragma comment (lib, &quot;glut32.lib&quot;)    </span><span class="comment">/* link with Win32 GLUT lib */</span>
<a name="l00069"></a>00069 <span class="preprocessor">#  endif</span>
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00072"></a>00072 <span class="comment">/* To disable supression of annoying warnings about floats being promoted</span>
<a name="l00073"></a>00073 <span class="comment">   to doubles, define GLUT_NO_WARNING_DISABLE in your compile preprocessor</span>
<a name="l00074"></a>00074 <span class="comment">   options. */</span>
<a name="l00075"></a>00075 <span class="preprocessor"># ifndef GLUT_NO_WARNING_DISABLE</span>
<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#  pragma warning (disable:4244)  </span><span class="comment">/* Disable bogus VC++ 4.2 conversion warnings. */</span>
<a name="l00077"></a>00077 <span class="preprocessor">#  pragma warning (disable:4305)  </span><span class="comment">/* VC++ 5.0 version of above warning. */</span>
<a name="l00078"></a>00078 <span class="preprocessor"># endif</span>
<a name="l00079"></a>00079 <span class="preprocessor"></span>
<a name="l00080"></a>00080 <span class="comment">/* Win32 has an annoying issue where there are multiple C run-time</span>
<a name="l00081"></a>00081 <span class="comment">   libraries (CRTs).  If the executable is linked with a different CRT</span>
<a name="l00082"></a>00082 <span class="comment">   from the GLUT DLL, the GLUT DLL will not share the same CRT static</span>
<a name="l00083"></a>00083 <span class="comment">   data seen by the executable.  In particular, atexit callbacks registered</span>
<a name="l00084"></a>00084 <span class="comment">   in the executable will not be called if GLUT calls its (different)</span>
<a name="l00085"></a>00085 <span class="comment">   exit routine).  GLUT is typically built with the</span>
<a name="l00086"></a>00086 <span class="comment">   &quot;/MD&quot; option (the CRT with multithreading DLL support), but the Visual</span>
<a name="l00087"></a>00087 <span class="comment">   C++ linker default is &quot;/ML&quot; (the single threaded CRT).</span>
<a name="l00088"></a>00088 <span class="comment"></span>
<a name="l00089"></a>00089 <span class="comment">   One workaround to this issue is requiring users to always link with</span>
<a name="l00090"></a>00090 <span class="comment">   the same CRT as GLUT is compiled with.  That requires users supply a</span>
<a name="l00091"></a>00091 <span class="comment">   non-standard option.  GLUT 3.7 has its own built-in workaround where</span>
<a name="l00092"></a>00092 <span class="comment">   the executable&#39;s &quot;exit&quot; function pointer is covertly passed to GLUT.</span>
<a name="l00093"></a>00093 <span class="comment">   GLUT then calls the executable&#39;s exit function pointer to ensure that</span>
<a name="l00094"></a>00094 <span class="comment">   any &quot;atexit&quot; calls registered by the application are called if GLUT</span>
<a name="l00095"></a>00095 <span class="comment">   needs to exit.</span>
<a name="l00096"></a>00096 <span class="comment"></span>
<a name="l00097"></a>00097 <span class="comment">   Note that the __glut*WithExit routines should NEVER be called directly.</span>
<a name="l00098"></a>00098 <span class="comment">   To avoid the atexit workaround, #define GLUT_DISABLE_ATEXIT_HACK. */</span>
<a name="l00099"></a>00099 
<a name="l00100"></a>00100 <span class="comment">/* XXX This is from Win32&#39;s &lt;process.h&gt; */</span>
<a name="l00101"></a>00101 <span class="preprocessor"># if !defined(_MSC_VER) &amp;&amp; !defined(__cdecl)</span>
<a name="l00102"></a>00102 <span class="preprocessor"></span>   <span class="comment">/* Define __cdecl for non-Microsoft compilers. */</span>
<a name="l00103"></a>00103 <span class="preprocessor">#  define __cdecl</span>
<a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor">#  define GLUT_DEFINED___CDECL</span>
<a name="l00105"></a>00105 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
<a name="l00106"></a>00106 <span class="preprocessor"></span><span class="preprocessor"># ifndef _CRTIMP</span>
<a name="l00107"></a>00107 <span class="preprocessor"></span><span class="preprocessor">#  ifdef _NTSDK</span>
<a name="l00108"></a>00108 <span class="preprocessor"></span>    <span class="comment">/* Definition compatible with NT SDK */</span>
<a name="l00109"></a>00109 <span class="preprocessor">#   define _CRTIMP</span>
<a name="l00110"></a>00110 <span class="preprocessor"></span><span class="preprocessor">#  else</span>
<a name="l00111"></a>00111 <span class="preprocessor"></span>    <span class="comment">/* Current definition */</span>
<a name="l00112"></a>00112 <span class="preprocessor">#   ifdef _DLL</span>
<a name="l00113"></a>00113 <span class="preprocessor"></span><span class="preprocessor">#    define _CRTIMP __declspec(dllimport)</span>
<a name="l00114"></a>00114 <span class="preprocessor"></span><span class="preprocessor">#   else</span>
<a name="l00115"></a>00115 <span class="preprocessor"></span><span class="preprocessor">#    define _CRTIMP</span>
<a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor">#   endif</span>
<a name="l00117"></a>00117 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00118"></a>00118 <span class="preprocessor"></span><span class="preprocessor">#  define GLUT_DEFINED__CRTIMP</span>
<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
<a name="l00120"></a>00120 <span class="preprocessor"></span>
<a name="l00121"></a>00121 <span class="comment">/* GLUT API entry point declarations for Win32. */</span>
<a name="l00122"></a>00122 <span class="preprocessor"># ifdef GLUT_BUILDING_LIB</span>
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor">#  define GLUTAPI __declspec(dllexport)</span>
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor"># else</span>
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#  ifdef _DLL</span>
<a name="l00126"></a>00126 <span class="preprocessor"></span><span class="preprocessor">#   define GLUTAPI __declspec(dllimport)</span>
<a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#  else</span>
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#   define GLUTAPI extern</span>
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
<a name="l00131"></a>00131 <span class="preprocessor"></span>
<a name="l00132"></a>00132 <span class="comment">/* GLUT callback calling convention for Win32. */</span>
<a name="l00133"></a>00133 <span class="preprocessor"># define GLUTCALLBACK __cdecl</span>
<a name="l00134"></a>00134 <span class="preprocessor"></span>
<a name="l00135"></a>00135 <span class="preprocessor">#endif  </span><span class="comment">/* _WIN32 */</span>
<a name="l00136"></a>00136 
<a name="l00137"></a>00137 <span class="preprocessor">#include &lt;GL/gl.h&gt;</span>
<a name="l00138"></a>00138 <span class="preprocessor">#include &lt;GL/glu.h&gt;</span>
<a name="l00139"></a>00139 
<a name="l00140"></a>00140 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00141"></a>00141 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00142"></a>00142 <span class="preprocessor">#endif</span>
<a name="l00143"></a>00143 <span class="preprocessor"></span>
<a name="l00144"></a>00144 <span class="preprocessor">#if defined(_WIN32)</span>
<a name="l00145"></a>00145 <span class="preprocessor"></span><span class="preprocessor"># ifndef GLUT_BUILDING_LIB</span>
<a name="l00146"></a>00146 <span class="preprocessor"></span><span class="keyword">extern</span> _CRTIMP <span class="keywordtype">void</span> __cdecl <a class="code" href="glut_8h.html#a6f255d924f7a6bb2c4be0c8c2f2d9ce3">exit</a>(<span class="keywordtype">int</span>);
<a name="l00147"></a>00147 <span class="preprocessor"># endif</span>
<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00149"></a>00149 <span class="preprocessor"></span><span class="comment">/* non-Win32 case. */</span>
<a name="l00150"></a>00150 <span class="comment">/* Define APIENTRY and CALLBACK to nothing if we aren&#39;t on Win32. */</span>
<a name="l00151"></a><a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">00151</a> <span class="preprocessor"># define APIENTRY</span>
<a name="l00152"></a><a class="code" href="glut_8h.html#aaf538c0b5f6a3d6f0cbf54ff6740f42e">00152</a> <span class="preprocessor"></span><span class="preprocessor"># define GLUT_APIENTRY_DEFINED</span>
<a name="l00153"></a><a class="code" href="glut_8h.html#ad48a1ae177f90ad8a0ccc92481c664a7">00153</a> <span class="preprocessor"></span><span class="preprocessor"># define CALLBACK</span>
<a name="l00154"></a>00154 <span class="preprocessor"></span><span class="comment">/* Define GLUTAPI and GLUTCALLBACK as below if we aren&#39;t on Win32. */</span>
<a name="l00155"></a><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">00155</a> <span class="preprocessor"># define GLUTAPI extern</span>
<a name="l00156"></a><a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">00156</a> <span class="preprocessor"></span><span class="preprocessor"># define GLUTCALLBACK</span>
<a name="l00157"></a>00157 <span class="preprocessor"></span><span class="comment">/* Prototype exit for the non-Win32 case (see above). */</span>
<a name="l00158"></a>00158 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a6f255d924f7a6bb2c4be0c8c2f2d9ce3">exit</a>(<span class="keywordtype">int</span>);
<a name="l00159"></a>00159 <span class="preprocessor">#endif</span>
<a name="l00160"></a>00160 <span class="preprocessor"></span>
<a name="l00182"></a>00182 <span class="preprocessor">#ifndef GLUT_API_VERSION  </span><span class="comment">/* allow this to be overriden */</span>
<a name="l00183"></a><a class="code" href="glut_8h.html#a2fc3bb51b9f38ac5b0cb7911be9caf94">00183</a> <span class="preprocessor">#define GLUT_API_VERSION                3</span>
<a name="l00184"></a>00184 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00185"></a>00185 <span class="preprocessor"></span>
<a name="l00222"></a>00222 <span class="preprocessor">#ifndef GLUT_XLIB_IMPLEMENTATION  </span><span class="comment">/* Allow this to be overriden. */</span>
<a name="l00223"></a><a class="code" href="glut_8h.html#aa5c483c6696110f8f296009ddc7cefd3">00223</a> <span class="preprocessor">#define GLUT_XLIB_IMPLEMENTATION        15</span>
<a name="l00224"></a>00224 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00225"></a>00225 <span class="preprocessor"></span>
<a name="l00226"></a>00226 <span class="comment">/* Display mode bit masks. */</span>
<a name="l00227"></a><a class="code" href="glut_8h.html#af72a6f59f18e560f3ee70b9feb40eeb5">00227</a> <span class="preprocessor">#define GLUT_RGB                        0</span>
<a name="l00228"></a><a class="code" href="glut_8h.html#a9766fe825112d4042a731effa96e9ed7">00228</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_RGBA                       GLUT_RGB</span>
<a name="l00229"></a><a class="code" href="glut_8h.html#a27cb2be9915eb425610664a7daeec74a">00229</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_INDEX                      1</span>
<a name="l00230"></a><a class="code" href="glut_8h.html#a3d45cc54fd3274143881a0633600709f">00230</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_SINGLE                     0</span>
<a name="l00231"></a><a class="code" href="glut_8h.html#a199f7f46cadfb6a94b2b7095f3ff3428">00231</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_DOUBLE                     2</span>
<a name="l00232"></a><a class="code" href="glut_8h.html#a43896fd591995b08379ec5d945c6b9ca">00232</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_ACCUM                      4</span>
<a name="l00233"></a><a class="code" href="glut_8h.html#a2d492a7606bd5c29f2ba12bb194b5866">00233</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_ALPHA                      8</span>
<a name="l00234"></a><a class="code" href="glut_8h.html#a82a20e99a815f32f5f936971e2fa5651">00234</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_DEPTH                      16</span>
<a name="l00235"></a><a class="code" href="glut_8h.html#af8f7a79dc36c44f922225d9109196403">00235</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_STENCIL                    32</span>
<a name="l00236"></a>00236 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 2)</span>
<a name="l00237"></a><a class="code" href="glut_8h.html#a3f15e21c2a814e8db3d00ec1e9f58d71">00237</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_MULTISAMPLE                128</span>
<a name="l00238"></a><a class="code" href="glut_8h.html#a0cd1ad5ec8468b9a0cdd4158e791dc19">00238</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_STEREO                     256</span>
<a name="l00239"></a>00239 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00240"></a>00240 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00241"></a><a class="code" href="glut_8h.html#aae79c99329207ad9262f2b3fbe4aa1ee">00241</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_LUMINANCE                  512</span>
<a name="l00242"></a>00242 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00243"></a>00243 <span class="preprocessor"></span>
<a name="l00244"></a>00244 <span class="comment">/* Mouse buttons. */</span>
<a name="l00245"></a><a class="code" href="glut_8h.html#a889091fa01fbf2f7d4d6f86b5028b54b">00245</a> <span class="preprocessor">#define GLUT_LEFT_BUTTON                0</span>
<a name="l00246"></a><a class="code" href="glut_8h.html#a99af895d2ade59903d17dc05167fc2e9">00246</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_MIDDLE_BUTTON              1</span>
<a name="l00247"></a><a class="code" href="glut_8h.html#ada993ed7a1ceee11b1c3326b8b15dbf3">00247</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_RIGHT_BUTTON               2</span>
<a name="l00248"></a>00248 <span class="preprocessor"></span>
<a name="l00249"></a>00249 <span class="comment">/* Mouse button  state. */</span>
<a name="l00250"></a><a class="code" href="glut_8h.html#a30d72298588fe4f6204e9f6d86f955b3">00250</a> <span class="preprocessor">#define GLUT_DOWN                       0</span>
<a name="l00251"></a><a class="code" href="glut_8h.html#a1afddf27f2001b4e65470a41bdde30d9">00251</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_UP                         1</span>
<a name="l00252"></a>00252 <span class="preprocessor"></span>
<a name="l00253"></a>00253 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 2)</span>
<a name="l00254"></a>00254 <span class="preprocessor"></span><span class="comment">/* function keys */</span>
<a name="l00255"></a><a class="code" href="glut_8h.html#af63cc7b29a12af0955c42dea87829736">00255</a> <span class="preprocessor">#define GLUT_KEY_F1                     1</span>
<a name="l00256"></a><a class="code" href="glut_8h.html#acb72407f62b6cfc4faac1b9d79da2623">00256</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F2                     2</span>
<a name="l00257"></a><a class="code" href="glut_8h.html#a9680619e50bb1ec577e2e36be50c8b90">00257</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F3                     3</span>
<a name="l00258"></a><a class="code" href="glut_8h.html#ae8d810517559c68a5f62456d2b77425a">00258</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F4                     4</span>
<a name="l00259"></a><a class="code" href="glut_8h.html#a996d079f4f3f3a8c7c6a01ca6db9258b">00259</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F5                     5</span>
<a name="l00260"></a><a class="code" href="glut_8h.html#a14ff110c3b644cf9072d37197fa0a34e">00260</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F6                     6</span>
<a name="l00261"></a><a class="code" href="glut_8h.html#a0cb22cbc1ac854e2c8a1a5f6ae04665c">00261</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F7                     7</span>
<a name="l00262"></a><a class="code" href="glut_8h.html#aac707cfc5f4e56de1ea98466be5ea5ad">00262</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F8                     8</span>
<a name="l00263"></a><a class="code" href="glut_8h.html#aadc9265d666b1bc3827ba25570f18cf4">00263</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F9                     9</span>
<a name="l00264"></a><a class="code" href="glut_8h.html#aa0945fa7982b39eefa42014700f483c9">00264</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F10                    10</span>
<a name="l00265"></a><a class="code" href="glut_8h.html#a9ff68b79b29283e2602c936b5c3aefc5">00265</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F11                    11</span>
<a name="l00266"></a><a class="code" href="glut_8h.html#a29817688a1c9f26fd697d811da48e223">00266</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_F12                    12</span>
<a name="l00267"></a>00267 <span class="preprocessor"></span><span class="comment">/* directional keys */</span>
<a name="l00268"></a><a class="code" href="glut_8h.html#abb193c04e62c29184751e2055fda89f5">00268</a> <span class="preprocessor">#define GLUT_KEY_LEFT                   100</span>
<a name="l00269"></a><a class="code" href="glut_8h.html#ada7f412e1ab4f271da990a217aca5b73">00269</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_UP                     101</span>
<a name="l00270"></a><a class="code" href="glut_8h.html#a19beda7d173600127ee540aee53dd081">00270</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_RIGHT                  102</span>
<a name="l00271"></a><a class="code" href="glut_8h.html#acf185aebae7f4bee9d4e95e0e889baa7">00271</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_DOWN                   103</span>
<a name="l00272"></a><a class="code" href="glut_8h.html#a28093e59b0ac1a1a25790fe45413db52">00272</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_PAGE_UP                104</span>
<a name="l00273"></a><a class="code" href="glut_8h.html#ada3e1475a629486163f75867350cddb4">00273</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_PAGE_DOWN              105</span>
<a name="l00274"></a><a class="code" href="glut_8h.html#adf559535a9b6a83e60e19b503cbd8267">00274</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_HOME                   106</span>
<a name="l00275"></a><a class="code" href="glut_8h.html#a8e90fbfbeea6c49891e022e07c9de056">00275</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_END                    107</span>
<a name="l00276"></a><a class="code" href="glut_8h.html#a73eebf3d2d1ccd5ce867a608e0e2a751">00276</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_INSERT                 108</span>
<a name="l00277"></a>00277 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00278"></a>00278 <span class="preprocessor"></span>
<a name="l00279"></a>00279 <span class="comment">/* Entry/exit  state. */</span>
<a name="l00280"></a><a class="code" href="glut_8h.html#af581f17fc90ea8883fb28a0ec26c889d">00280</a> <span class="preprocessor">#define GLUT_LEFT                       0</span>
<a name="l00281"></a><a class="code" href="glut_8h.html#a2442615bbc9f806206f3c0334fe73181">00281</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_ENTERED                    1</span>
<a name="l00282"></a>00282 <span class="preprocessor"></span>
<a name="l00283"></a>00283 <span class="comment">/* Menu usage  state. */</span>
<a name="l00284"></a><a class="code" href="glut_8h.html#a52f844a404adac32c0754da123b1d471">00284</a> <span class="preprocessor">#define GLUT_MENU_NOT_IN_USE            0</span>
<a name="l00285"></a><a class="code" href="glut_8h.html#a4559f0cb6963c422c3cd87b998e42f4b">00285</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_MENU_IN_USE                1</span>
<a name="l00286"></a>00286 <span class="preprocessor"></span>
<a name="l00287"></a>00287 <span class="comment">/* Visibility  state. */</span>
<a name="l00288"></a><a class="code" href="glut_8h.html#a64a22710d37c8674704e90fc2010c950">00288</a> <span class="preprocessor">#define GLUT_NOT_VISIBLE                0</span>
<a name="l00289"></a><a class="code" href="glut_8h.html#a7037cf658e4512296cef256c020f0fdb">00289</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VISIBLE                    1</span>
<a name="l00290"></a>00290 <span class="preprocessor"></span>
<a name="l00291"></a>00291 <span class="comment">/* Window status  state. */</span>
<a name="l00292"></a><a class="code" href="glut_8h.html#a68c1ead3367a836f1f8f59641fc2b299">00292</a> <span class="preprocessor">#define GLUT_HIDDEN                     0</span>
<a name="l00293"></a><a class="code" href="glut_8h.html#ab2c0c0640fe1157c8eb59fcb7d62e108">00293</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_FULLY_RETAINED             1</span>
<a name="l00294"></a><a class="code" href="glut_8h.html#a0382440b8fd65823c51bfc9847d06f7c">00294</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_PARTIALLY_RETAINED         2</span>
<a name="l00295"></a><a class="code" href="glut_8h.html#a5ba05621d2288349a25b82f3295425cf">00295</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_FULLY_COVERED              3</span>
<a name="l00296"></a>00296 <span class="preprocessor"></span>
<a name="l00297"></a>00297 <span class="comment">/* Color index component selection values. */</span>
<a name="l00298"></a><a class="code" href="glut_8h.html#aef848f2d576af78e59be7201d45ea4ec">00298</a> <span class="preprocessor">#define GLUT_RED                        0</span>
<a name="l00299"></a><a class="code" href="glut_8h.html#a3e31e620fa555ee3a0667a04827a7d0c">00299</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_GREEN                      1</span>
<a name="l00300"></a><a class="code" href="glut_8h.html#a074d38dfa1098ff10e371902adb0b8ed">00300</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BLUE                       2</span>
<a name="l00301"></a>00301 <span class="preprocessor"></span>
<a name="l00302"></a>00302 <span class="preprocessor">#if defined(_WIN32)</span>
<a name="l00303"></a>00303 <span class="preprocessor"></span><span class="comment">/* Stroke font constants (use these in GLUT program). */</span>
<a name="l00304"></a>00304 <span class="preprocessor">#define GLUT_STROKE_ROMAN               ((void*)0)</span>
<a name="l00305"></a>00305 <span class="preprocessor"></span><span class="preprocessor">#define GLUT_STROKE_MONO_ROMAN          ((void*)1)</span>
<a name="l00306"></a>00306 <span class="preprocessor"></span>
<a name="l00307"></a>00307 <span class="comment">/* Bitmap font constants (use these in GLUT program). */</span>
<a name="l00308"></a>00308 <span class="preprocessor">#define GLUT_BITMAP_9_BY_15             ((void*)2)</span>
<a name="l00309"></a>00309 <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_8_BY_13             ((void*)3)</span>
<a name="l00310"></a>00310 <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_TIMES_ROMAN_10      ((void*)4)</span>
<a name="l00311"></a>00311 <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_TIMES_ROMAN_24      ((void*)5)</span>
<a name="l00312"></a>00312 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00313"></a>00313 <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_HELVETICA_10        ((void*)6)</span>
<a name="l00314"></a>00314 <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_HELVETICA_12        ((void*)7)</span>
<a name="l00315"></a>00315 <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_HELVETICA_18        ((void*)8)</span>
<a name="l00316"></a>00316 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00317"></a>00317 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00318"></a>00318 <span class="preprocessor"></span><span class="comment">/* Stroke font opaque addresses (use constants instead in source code). */</span>
<a name="l00319"></a><a class="code" href="glut_8h.html#a1661489685de33b42abe1412e2de1bfa">00319</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#a1661489685de33b42abe1412e2de1bfa">glutStrokeRoman</a>;
<a name="l00320"></a><a class="code" href="glut_8h.html#a0c0898e93370396ca36cb4f138212612">00320</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#a0c0898e93370396ca36cb4f138212612">glutStrokeMonoRoman</a>;
<a name="l00321"></a>00321 
<a name="l00322"></a>00322 <span class="comment">/* Stroke font constants (use these in GLUT program). */</span>
<a name="l00323"></a><a class="code" href="glut_8h.html#a8c868e8790fc8d62e4d6a3923cb2c007">00323</a> <span class="preprocessor">#define GLUT_STROKE_ROMAN               (&amp;glutStrokeRoman)</span>
<a name="l00324"></a><a class="code" href="glut_8h.html#a6d845b04aa17e263c96e07b95872b404">00324</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_STROKE_MONO_ROMAN          (&amp;glutStrokeMonoRoman)</span>
<a name="l00325"></a>00325 <span class="preprocessor"></span>
<a name="l00326"></a>00326 <span class="comment">/* Bitmap font opaque addresses (use constants instead in source code). */</span>
<a name="l00327"></a><a class="code" href="glut_8h.html#ad22ab8ca3c4739db72045ba3f271c0fc">00327</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#ad22ab8ca3c4739db72045ba3f271c0fc">glutBitmap9By15</a>;
<a name="l00328"></a><a class="code" href="glut_8h.html#a8f2e1183e57f784e398b9d4e36cf6bd5">00328</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#a8f2e1183e57f784e398b9d4e36cf6bd5">glutBitmap8By13</a>;
<a name="l00329"></a><a class="code" href="glut_8h.html#a8011e129e2c15dc5521d961ac46c1993">00329</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#a8011e129e2c15dc5521d961ac46c1993">glutBitmapTimesRoman10</a>;
<a name="l00330"></a><a class="code" href="glut_8h.html#af52b68752d10ea87ec2b0816158bc548">00330</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#af52b68752d10ea87ec2b0816158bc548">glutBitmapTimesRoman24</a>;
<a name="l00331"></a><a class="code" href="glut_8h.html#a6d57e0271fd48ca0697689cbf4e13d89">00331</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#a6d57e0271fd48ca0697689cbf4e13d89">glutBitmapHelvetica10</a>;
<a name="l00332"></a><a class="code" href="glut_8h.html#af1da4ef00afcd5348c5ec67092986bf4">00332</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#af1da4ef00afcd5348c5ec67092986bf4">glutBitmapHelvetica12</a>;
<a name="l00333"></a><a class="code" href="glut_8h.html#afeeccbc1d58560fe99b298495fb84d3a">00333</a> <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> *<a class="code" href="glut_8h.html#afeeccbc1d58560fe99b298495fb84d3a">glutBitmapHelvetica18</a>;
<a name="l00334"></a>00334 
<a name="l00335"></a>00335 <span class="comment">/* Bitmap font constants (use these in GLUT program). */</span>
<a name="l00336"></a><a class="code" href="glut_8h.html#abd22ae2e12348f35e2822d9e23aa50de">00336</a> <span class="preprocessor">#define GLUT_BITMAP_9_BY_15             (&amp;glutBitmap9By15)</span>
<a name="l00337"></a><a class="code" href="glut_8h.html#a19b58769a20dd6fb34e6b5a2ecd42c2a">00337</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_8_BY_13             (&amp;glutBitmap8By13)</span>
<a name="l00338"></a><a class="code" href="glut_8h.html#ab570839ce3413815606992f14dc9a9d4">00338</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_TIMES_ROMAN_10      (&amp;glutBitmapTimesRoman10)</span>
<a name="l00339"></a><a class="code" href="glut_8h.html#a3a5b5a835fb02e6a681b8092fe25cc8c">00339</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_TIMES_ROMAN_24      (&amp;glutBitmapTimesRoman24)</span>
<a name="l00340"></a>00340 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00341"></a><a class="code" href="glut_8h.html#ac11db7b9af4fb9c1b2e37be43728f34d">00341</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_HELVETICA_10        (&amp;glutBitmapHelvetica10)</span>
<a name="l00342"></a><a class="code" href="glut_8h.html#a7148f404947be386e4a4cbd2ec84d15e">00342</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_HELVETICA_12        (&amp;glutBitmapHelvetica12)</span>
<a name="l00343"></a><a class="code" href="glut_8h.html#aa2733cf18efd2cf595fe00e2eef5fd46">00343</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_BITMAP_HELVETICA_18        (&amp;glutBitmapHelvetica18)</span>
<a name="l00344"></a>00344 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00345"></a>00345 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00346"></a>00346 <span class="preprocessor"></span>
<a name="l00347"></a>00347 <span class="comment">/* glutGet parameters. */</span>
<a name="l00348"></a><a class="code" href="glut_8h.html#afd840a4550534860f84493c99889444c">00348</a> <span class="preprocessor">#define GLUT_WINDOW_X                   ((GLenum) 100)</span>
<a name="l00349"></a><a class="code" href="glut_8h.html#af96c91347385211c5fc8c4e480e724bf">00349</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_Y                   ((GLenum) 101)</span>
<a name="l00350"></a><a class="code" href="glut_8h.html#a0f3be11b8fee187ebb7404d963c7d31e">00350</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_WIDTH               ((GLenum) 102)</span>
<a name="l00351"></a><a class="code" href="glut_8h.html#aa59ab5701b62782baab5d05e71d646ab">00351</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_HEIGHT              ((GLenum) 103)</span>
<a name="l00352"></a><a class="code" href="glut_8h.html#a3a9c3935e7ddf12b8a70a7f5df3626c1">00352</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_BUFFER_SIZE         ((GLenum) 104)</span>
<a name="l00353"></a><a class="code" href="glut_8h.html#adb9314f66a8f824f71322454decee406">00353</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_STENCIL_SIZE        ((GLenum) 105)</span>
<a name="l00354"></a><a class="code" href="glut_8h.html#a75550c7d5af9c48876449d0a1a2cb399">00354</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_DEPTH_SIZE          ((GLenum) 106)</span>
<a name="l00355"></a><a class="code" href="glut_8h.html#a44509f72b4642ec2eec721327cd1fb7f">00355</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_RED_SIZE            ((GLenum) 107)</span>
<a name="l00356"></a><a class="code" href="glut_8h.html#a3ab3056f0fe86d066fa89af6cde18ed8">00356</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_GREEN_SIZE          ((GLenum) 108)</span>
<a name="l00357"></a><a class="code" href="glut_8h.html#abdf4e98e2114bc0707239ea8019a9be9">00357</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_BLUE_SIZE           ((GLenum) 109)</span>
<a name="l00358"></a><a class="code" href="glut_8h.html#a57d82d9d76b5c6f5f8e7d3466609399e">00358</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_ALPHA_SIZE          ((GLenum) 110)</span>
<a name="l00359"></a><a class="code" href="glut_8h.html#a2110a2aecd5d4ad7a104a0b9477a3629">00359</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_ACCUM_RED_SIZE      ((GLenum) 111)</span>
<a name="l00360"></a><a class="code" href="glut_8h.html#aafbd9803c6c09cefc820bc0d9646c4a4">00360</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_ACCUM_GREEN_SIZE    ((GLenum) 112)</span>
<a name="l00361"></a><a class="code" href="glut_8h.html#a74844f3c9ea2afa20a81638a45049ad9">00361</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_ACCUM_BLUE_SIZE     ((GLenum) 113)</span>
<a name="l00362"></a><a class="code" href="glut_8h.html#a253794e453f452508d170c62ac34e638">00362</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_ACCUM_ALPHA_SIZE    ((GLenum) 114)</span>
<a name="l00363"></a><a class="code" href="glut_8h.html#a9209d34d3fb3805e395878acd78e2f02">00363</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_DOUBLEBUFFER        ((GLenum) 115)</span>
<a name="l00364"></a><a class="code" href="glut_8h.html#a3b538c911c396c95b24c4a59be27ab3b">00364</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_RGBA                ((GLenum) 116)</span>
<a name="l00365"></a><a class="code" href="glut_8h.html#a724c63b0ab39db859a2a3a7b1212db8f">00365</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_PARENT              ((GLenum) 117)</span>
<a name="l00366"></a><a class="code" href="glut_8h.html#a3c4cc1eb509c112a06d2b727b4a4845a">00366</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_NUM_CHILDREN        ((GLenum) 118)</span>
<a name="l00367"></a><a class="code" href="glut_8h.html#a02eae1e68c788e930924f1b1f36f5169">00367</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_COLORMAP_SIZE       ((GLenum) 119)</span>
<a name="l00368"></a>00368 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 2)</span>
<a name="l00369"></a><a class="code" href="glut_8h.html#ab45baab849e18a8dc86cb230d8582436">00369</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_NUM_SAMPLES         ((GLenum) 120)</span>
<a name="l00370"></a><a class="code" href="glut_8h.html#a37c7f9ceeb75ab4f4a02da02b0f50d4b">00370</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_STEREO              ((GLenum) 121)</span>
<a name="l00371"></a>00371 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00372"></a>00372 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00373"></a><a class="code" href="glut_8h.html#a887e0ff085061db7bf3daaa3d079f7e4">00373</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_CURSOR              ((GLenum) 122)</span>
<a name="l00374"></a>00374 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00375"></a><a class="code" href="glut_8h.html#a6b65bdffe7a0842ddeb96e7df24bc052">00375</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_SCREEN_WIDTH               ((GLenum) 200)</span>
<a name="l00376"></a><a class="code" href="glut_8h.html#ab886a3d74de701fd9a6d225f440d7600">00376</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_SCREEN_HEIGHT              ((GLenum) 201)</span>
<a name="l00377"></a><a class="code" href="glut_8h.html#a118f8271d40bf215c6893e2b78651c0c">00377</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_SCREEN_WIDTH_MM            ((GLenum) 202)</span>
<a name="l00378"></a><a class="code" href="glut_8h.html#a48916f3cd0b6a8805b4de3c72efad0e3">00378</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_SCREEN_HEIGHT_MM           ((GLenum) 203)</span>
<a name="l00379"></a><a class="code" href="glut_8h.html#a81c9244e4286cf9ef3326e8197e3aae0">00379</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_MENU_NUM_ITEMS             ((GLenum) 300)</span>
<a name="l00380"></a><a class="code" href="glut_8h.html#a679ca1a9f339a7cbced60f89e0fc8925">00380</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_DISPLAY_MODE_POSSIBLE      ((GLenum) 400)</span>
<a name="l00381"></a><a class="code" href="glut_8h.html#a7627ed8c6224d6389f30cabcf7cda967">00381</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_INIT_WINDOW_X              ((GLenum) 500)</span>
<a name="l00382"></a><a class="code" href="glut_8h.html#a8c3a6de14aa9b522d6a9c4993da064fb">00382</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_INIT_WINDOW_Y              ((GLenum) 501)</span>
<a name="l00383"></a><a class="code" href="glut_8h.html#a792dacbe7ae1d6d0cda0f1cc8fce6e9e">00383</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_INIT_WINDOW_WIDTH          ((GLenum) 502)</span>
<a name="l00384"></a><a class="code" href="glut_8h.html#abf9ae3b75dae2531ade9cec68b0da41a">00384</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_INIT_WINDOW_HEIGHT         ((GLenum) 503)</span>
<a name="l00385"></a><a class="code" href="glut_8h.html#a9f12a56b38000f6bc663aed7f5dbf803">00385</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_INIT_DISPLAY_MODE          ((GLenum) 504)</span>
<a name="l00386"></a>00386 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 2)</span>
<a name="l00387"></a><a class="code" href="glut_8h.html#a9a38f125fd6a5ca22bfbae59d5654146">00387</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_ELAPSED_TIME               ((GLenum) 700)</span>
<a name="l00388"></a>00388 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00389"></a>00389 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 13)</span>
<a name="l00390"></a><a class="code" href="glut_8h.html#a8d884b32318ca281266952db0cb16ac9">00390</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_WINDOW_FORMAT_ID           ((GLenum) 123)</span>
<a name="l00391"></a>00391 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00392"></a>00392 <span class="preprocessor"></span>
<a name="l00393"></a>00393 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 2)</span>
<a name="l00394"></a>00394 <span class="preprocessor"></span><span class="comment">/* glutDeviceGet parameters. */</span>
<a name="l00395"></a><a class="code" href="glut_8h.html#afc9f178dce8da5d750839f8607986706">00395</a> <span class="preprocessor">#define GLUT_HAS_KEYBOARD               ((GLenum) 600)</span>
<a name="l00396"></a><a class="code" href="glut_8h.html#a4d860760b75e8ba688820a8917f54aa6">00396</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_HAS_MOUSE                  ((GLenum) 601)</span>
<a name="l00397"></a><a class="code" href="glut_8h.html#ac6f10f5ba7fa1db4236ff4350cbece04">00397</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_HAS_SPACEBALL              ((GLenum) 602)</span>
<a name="l00398"></a><a class="code" href="glut_8h.html#a118efbf04d3b594b7fca68920254d2fe">00398</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_HAS_DIAL_AND_BUTTON_BOX    ((GLenum) 603)</span>
<a name="l00399"></a><a class="code" href="glut_8h.html#ab909efdd1d504d879e958b36dedc2173">00399</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_HAS_TABLET                 ((GLenum) 604)</span>
<a name="l00400"></a><a class="code" href="glut_8h.html#a202d9c83876fe0b87d1af980463caefa">00400</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_NUM_MOUSE_BUTTONS          ((GLenum) 605)</span>
<a name="l00401"></a><a class="code" href="glut_8h.html#aa4ff5141791cc3999281dcdb1fadc4a5">00401</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_NUM_SPACEBALL_BUTTONS      ((GLenum) 606)</span>
<a name="l00402"></a><a class="code" href="glut_8h.html#af5f59269acd5687125d7c3c7b6e3fd35">00402</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_NUM_BUTTON_BOX_BUTTONS     ((GLenum) 607)</span>
<a name="l00403"></a><a class="code" href="glut_8h.html#a494de5ea1c0624bd31f8aa3ea919494b">00403</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_NUM_DIALS                  ((GLenum) 608)</span>
<a name="l00404"></a><a class="code" href="glut_8h.html#aee4d8f95dfd13e13f762c3a081c6036a">00404</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_NUM_TABLET_BUTTONS         ((GLenum) 609)</span>
<a name="l00405"></a>00405 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00406"></a>00406 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 13)</span>
<a name="l00407"></a><a class="code" href="glut_8h.html#a7d1e2be6f8992e6767726ba46662e53c">00407</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_DEVICE_IGNORE_KEY_REPEAT   ((GLenum) 610)</span>
<a name="l00408"></a><a class="code" href="glut_8h.html#a162161f62031108981e49e564a80f2ce">00408</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_DEVICE_KEY_REPEAT          ((GLenum) 611)</span>
<a name="l00409"></a><a class="code" href="glut_8h.html#a7057c6b4ce201e5022db8eca0654c58a">00409</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_HAS_JOYSTICK               ((GLenum) 612)</span>
<a name="l00410"></a><a class="code" href="glut_8h.html#ad22e11bb01cb47ce949bccdec92795bc">00410</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_OWNS_JOYSTICK              ((GLenum) 613)</span>
<a name="l00411"></a><a class="code" href="glut_8h.html#aee9661dc1d1c6008d6840f041b48a147">00411</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_JOYSTICK_BUTTONS           ((GLenum) 614)</span>
<a name="l00412"></a><a class="code" href="glut_8h.html#aa5791fbb080215bb03cbc7aa6f99dfbe">00412</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_JOYSTICK_AXES              ((GLenum) 615)</span>
<a name="l00413"></a><a class="code" href="glut_8h.html#a6b795288bbad3105e0aef5a1257421b4">00413</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_JOYSTICK_POLL_RATE         ((GLenum) 616)</span>
<a name="l00414"></a>00414 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00415"></a>00415 <span class="preprocessor"></span>
<a name="l00416"></a>00416 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00417"></a>00417 <span class="preprocessor"></span><span class="comment">/* glutLayerGet parameters. */</span>
<a name="l00418"></a><a class="code" href="glut_8h.html#a7bebe6fa7f34719ba4d19d94f4445049">00418</a> <span class="preprocessor">#define GLUT_OVERLAY_POSSIBLE           ((GLenum) 800)</span>
<a name="l00419"></a><a class="code" href="glut_8h.html#a088ca8b3e257d80ac16f956d62de0e67">00419</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_LAYER_IN_USE               ((GLenum) 801)</span>
<a name="l00420"></a><a class="code" href="glut_8h.html#a9500fab96177bfe4fce8d66b6ae516d6">00420</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_HAS_OVERLAY                ((GLenum) 802)</span>
<a name="l00421"></a><a class="code" href="glut_8h.html#a99aa25e36a0b01c418a79ce1219dbf56">00421</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_TRANSPARENT_INDEX          ((GLenum) 803)</span>
<a name="l00422"></a><a class="code" href="glut_8h.html#a6c8c766cfc7dd33026befb89de05b49f">00422</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_NORMAL_DAMAGED             ((GLenum) 804)</span>
<a name="l00423"></a><a class="code" href="glut_8h.html#a27e1cc27b271dac2d0c51a1ff9d0ae06">00423</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_OVERLAY_DAMAGED            ((GLenum) 805)</span>
<a name="l00424"></a>00424 <span class="preprocessor"></span>
<a name="l00425"></a>00425 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 9)</span>
<a name="l00426"></a>00426 <span class="preprocessor"></span><span class="comment">/* glutVideoResizeGet parameters. */</span>
<a name="l00427"></a><a class="code" href="glut_8h.html#a80f49e509c83c9e79f8b23d3be0b2455">00427</a> <span class="preprocessor">#define GLUT_VIDEO_RESIZE_POSSIBLE      ((GLenum) 900)</span>
<a name="l00428"></a><a class="code" href="glut_8h.html#ae8c73f30c654b038f19d06753a47a2a0">00428</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_IN_USE        ((GLenum) 901)</span>
<a name="l00429"></a><a class="code" href="glut_8h.html#a8a1f6c28ca944439595057a5f6b47b64">00429</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_X_DELTA       ((GLenum) 902)</span>
<a name="l00430"></a><a class="code" href="glut_8h.html#a55d460e4e193b091cd92c95faa2f39a4">00430</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_Y_DELTA       ((GLenum) 903)</span>
<a name="l00431"></a><a class="code" href="glut_8h.html#af2c7d226790ee1d0a24de0d60bfcb157">00431</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_WIDTH_DELTA   ((GLenum) 904)</span>
<a name="l00432"></a><a class="code" href="glut_8h.html#ad5aa84c37a4f5e068ba3eb01c7894942">00432</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA  ((GLenum) 905)</span>
<a name="l00433"></a><a class="code" href="glut_8h.html#afa45af4907319a8ccdec4866de9e0b99">00433</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_X             ((GLenum) 906)</span>
<a name="l00434"></a><a class="code" href="glut_8h.html#ab9c3e70a7ed6e49cd97f4caa5c6cb5e6">00434</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_Y             ((GLenum) 907)</span>
<a name="l00435"></a><a class="code" href="glut_8h.html#af610cbe154e160a37764a3c175bbe071">00435</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_WIDTH         ((GLenum) 908)</span>
<a name="l00436"></a><a class="code" href="glut_8h.html#aaf15be280dc57864d4ced516a9bb9e56">00436</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_VIDEO_RESIZE_HEIGHT        ((GLenum) 909)</span>
<a name="l00437"></a>00437 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00438"></a>00438 <span class="preprocessor"></span>
<a name="l00439"></a>00439 <span class="comment">/* glutUseLayer parameters. */</span>
<a name="l00440"></a><a class="code" href="glut_8h.html#a35a0cdb606dff93c9b200d08f65f110c">00440</a> <span class="preprocessor">#define GLUT_NORMAL                     ((GLenum) 0)</span>
<a name="l00441"></a><a class="code" href="glut_8h.html#a955e05a13f7604768eef710f3d872b39">00441</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_OVERLAY                    ((GLenum) 1)</span>
<a name="l00442"></a>00442 <span class="preprocessor"></span>
<a name="l00443"></a>00443 <span class="comment">/* glutGetModifiers return mask. */</span>
<a name="l00444"></a><a class="code" href="glut_8h.html#a074ada7313052bd2a64a65dbfba76e33">00444</a> <span class="preprocessor">#define GLUT_ACTIVE_SHIFT               1</span>
<a name="l00445"></a><a class="code" href="glut_8h.html#a67d60a193db259524360cfb6b39a0c82">00445</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_ACTIVE_CTRL                2</span>
<a name="l00446"></a><a class="code" href="glut_8h.html#a37fa1ad406c601777f4b9d64319fa20c">00446</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_ACTIVE_ALT                 4</span>
<a name="l00447"></a>00447 <span class="preprocessor"></span>
<a name="l00448"></a>00448 <span class="comment">/* glutSetCursor parameters. */</span>
<a name="l00449"></a>00449 <span class="comment">/* Basic arrows. */</span>
<a name="l00450"></a><a class="code" href="glut_8h.html#a530956f6af4109bbf423edc44d99af6e">00450</a> <span class="preprocessor">#define GLUT_CURSOR_RIGHT_ARROW         0</span>
<a name="l00451"></a><a class="code" href="glut_8h.html#aa6a025062db4baaeef55877f5e76346d">00451</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_LEFT_ARROW          1</span>
<a name="l00452"></a>00452 <span class="preprocessor"></span><span class="comment">/* Symbolic cursor shapes. */</span>
<a name="l00453"></a><a class="code" href="glut_8h.html#ade986ae64d50da64a4febd740259a286">00453</a> <span class="preprocessor">#define GLUT_CURSOR_INFO                2</span>
<a name="l00454"></a><a class="code" href="glut_8h.html#a81a013ad9d0ca13d92e4736375ae7ad1">00454</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_DESTROY             3</span>
<a name="l00455"></a><a class="code" href="glut_8h.html#abbb0d0f6aa73cfa15856ee183846f794">00455</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_HELP                4</span>
<a name="l00456"></a><a class="code" href="glut_8h.html#ac28acff8776266f8ae7e1d4f8d82d62f">00456</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_CYCLE               5</span>
<a name="l00457"></a><a class="code" href="glut_8h.html#a5cc671426e10120f1d8c4a6844269cb1">00457</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_SPRAY               6</span>
<a name="l00458"></a><a class="code" href="glut_8h.html#a510bc737668232ba061f8740b6b48bc8">00458</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_WAIT                7</span>
<a name="l00459"></a><a class="code" href="glut_8h.html#a639f8771f4ccdfb8f028c81d840f9d4f">00459</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_TEXT                8</span>
<a name="l00460"></a><a class="code" href="glut_8h.html#a34f28d1c6c7a9b566ed65760b7abe5f0">00460</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_CROSSHAIR           9</span>
<a name="l00461"></a>00461 <span class="preprocessor"></span><span class="comment">/* Directional cursors. */</span>
<a name="l00462"></a><a class="code" href="glut_8h.html#a0348dfb00fee4e121ba0b9dbeb775883">00462</a> <span class="preprocessor">#define GLUT_CURSOR_UP_DOWN             10</span>
<a name="l00463"></a><a class="code" href="glut_8h.html#a071ef1aafcf8d354a0418d1408ac344d">00463</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_LEFT_RIGHT          11</span>
<a name="l00464"></a>00464 <span class="preprocessor"></span><span class="comment">/* Sizing cursors. */</span>
<a name="l00465"></a><a class="code" href="glut_8h.html#a146e07be459e49d23b5f9de6d4d1e287">00465</a> <span class="preprocessor">#define GLUT_CURSOR_TOP_SIDE            12</span>
<a name="l00466"></a><a class="code" href="glut_8h.html#af757d463504a3523d7bd485fc2d27297">00466</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_BOTTOM_SIDE         13</span>
<a name="l00467"></a><a class="code" href="glut_8h.html#a304db09d1c4e39e7837d42ff8864c5f7">00467</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_LEFT_SIDE           14</span>
<a name="l00468"></a><a class="code" href="glut_8h.html#aee778fd5e4df79e02e4df89ff4a6e223">00468</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_RIGHT_SIDE          15</span>
<a name="l00469"></a><a class="code" href="glut_8h.html#a189b7b54f88e48c838597695e80ee39c">00469</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_TOP_LEFT_CORNER     16</span>
<a name="l00470"></a><a class="code" href="glut_8h.html#aa678faed809a40e29999796f0d5e7498">00470</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_TOP_RIGHT_CORNER    17</span>
<a name="l00471"></a><a class="code" href="glut_8h.html#a1bd3a12e71f61b89c1ea2f099048cdf0">00471</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 18</span>
<a name="l00472"></a><a class="code" href="glut_8h.html#ac3d56e72d9d67368344d00d2c4b11904">00472</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_CURSOR_BOTTOM_LEFT_CORNER  19</span>
<a name="l00473"></a>00473 <span class="preprocessor"></span><span class="comment">/* Inherit from parent window. */</span>
<a name="l00474"></a><a class="code" href="glut_8h.html#aafa2626801284529c4d55007b47e20f4">00474</a> <span class="preprocessor">#define GLUT_CURSOR_INHERIT             100</span>
<a name="l00475"></a>00475 <span class="preprocessor"></span><span class="comment">/* Blank cursor. */</span>
<a name="l00476"></a><a class="code" href="glut_8h.html#a8ba21c7c933925c5d9a1e64180c14023">00476</a> <span class="preprocessor">#define GLUT_CURSOR_NONE                101</span>
<a name="l00477"></a>00477 <span class="preprocessor"></span><span class="comment">/* Fullscreen crosshair (if available). */</span>
<a name="l00478"></a><a class="code" href="glut_8h.html#af4d3eefea3797a4a06e652e90e17a938">00478</a> <span class="preprocessor">#define GLUT_CURSOR_FULL_CROSSHAIR      102</span>
<a name="l00479"></a>00479 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00480"></a>00480 <span class="preprocessor"></span>
<a name="l00481"></a>00481 <span class="comment">/* GLUT initialization sub-API. */</span>
<a name="l00482"></a>00482 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a2bed9db3feab26e4087ce7e710126438">glutInit</a>(<span class="keywordtype">int</span> *argcp, <span class="keywordtype">char</span> **argv);
<a name="l00483"></a>00483 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; !defined(GLUT_DISABLE_ATEXIT_HACK)</span>
<a name="l00484"></a>00484 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> __glutInitWithExit(<span class="keywordtype">int</span> *argcp, <span class="keywordtype">char</span> **argv, <span class="keywordtype">void</span> (__cdecl *exitfunc)(<span class="keywordtype">int</span>));
<a name="l00485"></a>00485 <span class="preprocessor">#ifndef GLUT_BUILDING_LIB</span>
<a name="l00486"></a>00486 <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> glutInit_ATEXIT_HACK(<span class="keywordtype">int</span> *argcp, <span class="keywordtype">char</span> **argv) { __glutInitWithExit(argcp, argv, <a class="code" href="glut_8h.html#a6f255d924f7a6bb2c4be0c8c2f2d9ce3">exit</a>); }
<a name="l00487"></a>00487 <span class="preprocessor">#define glutInit glutInit_ATEXIT_HACK</span>
<a name="l00488"></a>00488 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00489"></a>00489 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00490"></a>00490 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a2b7096cd64af1c2372f5f3953635d2ed">glutInitDisplayMode</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> mode);
<a name="l00491"></a>00491 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 9)</span>
<a name="l00492"></a>00492 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a3fbdf5362eae63e91a90ec854ea86d98">glutInitDisplayString</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>);
<a name="l00493"></a>00493 <span class="preprocessor">#endif</span>
<a name="l00494"></a>00494 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a76cc6cf86f45849b366ceea0f527680f">glutInitWindowPosition</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00495"></a>00495 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a9501b45b128db8d666d197715b7adf06">glutInitWindowSize</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
<a name="l00496"></a>00496 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a9dab481c63c132f43ad05a1e8c0b5a0f">glutMainLoop</a>(<span class="keywordtype">void</span>);
<a name="l00497"></a>00497 
<a name="l00498"></a>00498 <span class="comment">/* GLUT window sub-API. */</span>
<a name="l00499"></a>00499 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aeb55aa096bb7a2f81779b924b5eac215">glutCreateWindow</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *title);
<a name="l00500"></a>00500 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; !defined(GLUT_DISABLE_ATEXIT_HACK)</span>
<a name="l00501"></a>00501 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> __glutCreateWindowWithExit(<span class="keyword">const</span> <span class="keywordtype">char</span> *title, <span class="keywordtype">void</span> (__cdecl *exitfunc)(<span class="keywordtype">int</span>));
<a name="l00502"></a>00502 <span class="preprocessor">#ifndef GLUT_BUILDING_LIB</span>
<a name="l00503"></a>00503 <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> glutCreateWindow_ATEXIT_HACK(<span class="keyword">const</span> <span class="keywordtype">char</span> *title) { <span class="keywordflow">return</span> __glutCreateWindowWithExit(title, <a class="code" href="glut_8h.html#a6f255d924f7a6bb2c4be0c8c2f2d9ce3">exit</a>); }
<a name="l00504"></a>00504 <span class="preprocessor">#define glutCreateWindow glutCreateWindow_ATEXIT_HACK</span>
<a name="l00505"></a>00505 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00506"></a>00506 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00507"></a>00507 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ad13a95066ec52d117aca24555c8e2ba9">glutCreateSubWindow</a>(<span class="keywordtype">int</span> win, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
<a name="l00508"></a>00508 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a6b081fbdac8ae609c1883075d7f6bf82">glutDestroyWindow</a>(<span class="keywordtype">int</span> win);
<a name="l00509"></a>00509 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a4844b2228c60161628d1cd3b52d93a47">glutPostRedisplay</a>(<span class="keywordtype">void</span>);
<a name="l00510"></a>00510 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 11)</span>
<a name="l00511"></a>00511 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aea39e494d75668057445d333b0b9a37c">glutPostWindowRedisplay</a>(<span class="keywordtype">int</span> win);
<a name="l00512"></a>00512 <span class="preprocessor">#endif</span>
<a name="l00513"></a>00513 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a2bac7044bca3fc35d484beab86d19bca">glutSwapBuffers</a>(<span class="keywordtype">void</span>);
<a name="l00514"></a>00514 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a660d1612b47f2d0ea5795ae253b18c14">glutGetWindow</a>(<span class="keywordtype">void</span>);
<a name="l00515"></a>00515 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ae8bbf78c1bdf9381e694b6045c1160a7">glutSetWindow</a>(<span class="keywordtype">int</span> win);
<a name="l00516"></a>00516 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a5d13a1c8fe3efd73a5e808bad1004942">glutSetWindowTitle</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *title);
<a name="l00517"></a>00517 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a8411bc0423f976a779e6242c9f72581f">glutSetIconTitle</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *title);
<a name="l00518"></a>00518 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#addc944fd8637d7ff7c21d7633b89ba14">glutPositionWindow</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00519"></a>00519 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ad4bf6d18169e9f5728b4be412e475880">glutReshapeWindow</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
<a name="l00520"></a>00520 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ac324e575191ff76fea304b0ec0d92d37">glutPopWindow</a>(<span class="keywordtype">void</span>);
<a name="l00521"></a>00521 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ac449ad8fb577eb843dd20fb07b6e28cd">glutPushWindow</a>(<span class="keywordtype">void</span>);
<a name="l00522"></a>00522 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a6e7e9f1e877fd7a291108479a34374cd">glutIconifyWindow</a>(<span class="keywordtype">void</span>);
<a name="l00523"></a>00523 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a73cfdf652dbb5ca9618ef12ca9f2a4ce">glutShowWindow</a>(<span class="keywordtype">void</span>);
<a name="l00524"></a>00524 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a6b64edd75bc235bde37462e1477cc3bd">glutHideWindow</a>(<span class="keywordtype">void</span>);
<a name="l00525"></a>00525 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00526"></a>00526 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a825ff1ec0f9324d7ef57ff1b48b36209">glutFullScreen</a>(<span class="keywordtype">void</span>);
<a name="l00527"></a>00527 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#af392b5960a629106e0be07060b81c158">glutSetCursor</a>(<span class="keywordtype">int</span> cursor);
<a name="l00528"></a>00528 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 9)</span>
<a name="l00529"></a>00529 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a8bb075f7a0d0928795ba07db45b77632">glutWarpPointer</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00530"></a>00530 <span class="preprocessor">#endif</span>
<a name="l00531"></a>00531 <span class="preprocessor"></span>
<a name="l00532"></a>00532 <span class="comment">/* GLUT overlay sub-API. */</span>
<a name="l00533"></a>00533 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ab1debf8002b8b6685a91368be3a7fdfd">glutEstablishOverlay</a>(<span class="keywordtype">void</span>);
<a name="l00534"></a>00534 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a331dc63969f4ab3bbf9f32a3aa4c6e9a">glutRemoveOverlay</a>(<span class="keywordtype">void</span>);
<a name="l00535"></a>00535 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ac94c8b8ddf060c9bf1ecc7d66a35d9e1">glutUseLayer</a>(GLenum layer);
<a name="l00536"></a>00536 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#afcfa0f563920deaa3632bf027b56dbd3">glutPostOverlayRedisplay</a>(<span class="keywordtype">void</span>);
<a name="l00537"></a>00537 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 11)</span>
<a name="l00538"></a>00538 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a6ed8ca14ff36fd6fda379a89b8f7bf58">glutPostWindowOverlayRedisplay</a>(<span class="keywordtype">int</span> win);
<a name="l00539"></a>00539 <span class="preprocessor">#endif</span>
<a name="l00540"></a>00540 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a12742ccc282e821f685a440914d5d803">glutShowOverlay</a>(<span class="keywordtype">void</span>);
<a name="l00541"></a>00541 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ade82bbf847ef99417224806532d15a2c">glutHideOverlay</a>(<span class="keywordtype">void</span>);
<a name="l00542"></a>00542 <span class="preprocessor">#endif</span>
<a name="l00543"></a>00543 <span class="preprocessor"></span>
<a name="l00544"></a>00544 <span class="comment">/* GLUT menu sub-API. */</span>
<a name="l00545"></a>00545 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a3a359b0601f11d3ccf58f6804a691168">glutCreateMenu</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span>));
<a name="l00546"></a>00546 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; !defined(GLUT_DISABLE_ATEXIT_HACK)</span>
<a name="l00547"></a>00547 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> __glutCreateMenuWithExit(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span>), <span class="keywordtype">void</span> (__cdecl *exitfunc)(<span class="keywordtype">int</span>));
<a name="l00548"></a>00548 <span class="preprocessor">#ifndef GLUT_BUILDING_LIB</span>
<a name="l00549"></a>00549 <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> glutCreateMenu_ATEXIT_HACK(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span>)) { <span class="keywordflow">return</span> __glutCreateMenuWithExit(func, <a class="code" href="glut_8h.html#a6f255d924f7a6bb2c4be0c8c2f2d9ce3">exit</a>); }
<a name="l00550"></a>00550 <span class="preprocessor">#define glutCreateMenu glutCreateMenu_ATEXIT_HACK</span>
<a name="l00551"></a>00551 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00552"></a>00552 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00553"></a>00553 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ad5555a0c69eb306fe6651f9ccab96731">glutDestroyMenu</a>(<span class="keywordtype">int</span> menu);
<a name="l00554"></a>00554 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#abba12063a4f153b32998533b75a505c9">glutGetMenu</a>(<span class="keywordtype">void</span>);
<a name="l00555"></a>00555 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a93c6f280fe66c8e6223ac7c2942aa8e7">glutSetMenu</a>(<span class="keywordtype">int</span> menu);
<a name="l00556"></a>00556 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ad879b9b853c58e76b1a58c7b35eea7d9">glutAddMenuEntry</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *label, <span class="keywordtype">int</span> value);
<a name="l00557"></a>00557 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a9556f1a5276612adef4ca7a883ce7bd7">glutAddSubMenu</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *label, <span class="keywordtype">int</span> submenu);
<a name="l00558"></a>00558 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a80fcca98dfa0922e456aefbf5c35ff5f">glutChangeToMenuEntry</a>(<span class="keywordtype">int</span> item, <span class="keyword">const</span> <span class="keywordtype">char</span> *label, <span class="keywordtype">int</span> value);
<a name="l00559"></a>00559 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a810444cc98d47a4b49460bcda65793d3">glutChangeToSubMenu</a>(<span class="keywordtype">int</span> item, <span class="keyword">const</span> <span class="keywordtype">char</span> *label, <span class="keywordtype">int</span> submenu);
<a name="l00560"></a>00560 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#afea40e85451d30fad99af0c5f0094790">glutRemoveMenuItem</a>(<span class="keywordtype">int</span> item);
<a name="l00561"></a>00561 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ad5b169c2158dfe62d7d8112ab92d22e7">glutAttachMenu</a>(<span class="keywordtype">int</span> button);
<a name="l00562"></a>00562 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a7342114cf710e8953898f2ad5eb61f35">glutDetachMenu</a>(<span class="keywordtype">int</span> button);
<a name="l00563"></a>00563 
<a name="l00564"></a>00564 <span class="comment">/* GLUT window callback sub-API. */</span>
<a name="l00565"></a>00565 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a03cb35d5ea9264067a4cf08be8973f4f">glutDisplayFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">void</span>));
<a name="l00566"></a>00566 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a6b08a5b035a6a8c0f11b76b82aa83fc8">glutReshapeFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height));
<a name="l00567"></a>00567 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a5098c4d36b149b8ad436786ed24b03a3">glutKeyboardFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> key, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00568"></a>00568 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aea5873dafdddd04820a338d438f8497b">glutMouseFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> button, <span class="keywordtype">int</span> state, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00569"></a>00569 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a437895d0cd962908790ba033cb01e0f4">glutMotionFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00570"></a>00570 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a5dd0b0c28f116a6b217d56e844898207">glutPassiveMotionFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00571"></a>00571 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a231ef65d63503ca71a27bec67cbf806d">glutEntryFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> state));
<a name="l00572"></a>00572 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ab33c5c9ce634c13115f8d6d3548cfdd8">glutVisibilityFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> state));
<a name="l00573"></a>00573 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a52b8f31c71db8649f8cf769b1f614e92">glutIdleFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">void</span>));
<a name="l00574"></a>00574 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a3a5b2c8df487b9894f40ba22ade02d4d">glutTimerFunc</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> millis, <span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> value), <span class="keywordtype">int</span> value);
<a name="l00575"></a>00575 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a6451be871a0da2c0bb0270d876f17902">glutMenuStateFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> state));
<a name="l00576"></a>00576 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 2)</span>
<a name="l00577"></a>00577 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a32cd95afa912b45f1b9b3eae0d72bce8">glutSpecialFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> key, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00578"></a>00578 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a87a27b42fd4f91b6e49524ca85c94e2b">glutSpaceballMotionFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> z));
<a name="l00579"></a>00579 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a08e9301d982d1fe13382fa2f6e8b2059">glutSpaceballRotateFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> z));
<a name="l00580"></a>00580 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ae599fd158fdecead2d758a0ef7f0b2ad">glutSpaceballButtonFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> button, <span class="keywordtype">int</span> state));
<a name="l00581"></a>00581 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a740459d23af262295e71e0fefddae9e2">glutButtonBoxFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> button, <span class="keywordtype">int</span> state));
<a name="l00582"></a>00582 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a0ec70b5e34818d6ed6c95bb085661bce">glutDialsFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> dial, <span class="keywordtype">int</span> value));
<a name="l00583"></a>00583 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#afe6e7a9c326a0bce285b4d5504d3985b">glutTabletMotionFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00584"></a>00584 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ad81d2f8db8f012875866c944a8beb4c2">glutTabletButtonFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> button, <span class="keywordtype">int</span> state, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00585"></a>00585 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00586"></a>00586 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aadc16896d80701943636cb22495abcfc">glutMenuStatusFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> status, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00587"></a>00587 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a1727642ed452086ddb61d7eb8791a1e7">glutOverlayDisplayFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">void</span>));
<a name="l00588"></a>00588 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 9)</span>
<a name="l00589"></a>00589 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aab9dea611aa71508115c481dc40aed4b">glutWindowStatusFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> state));
<a name="l00590"></a>00590 <span class="preprocessor">#endif</span>
<a name="l00591"></a>00591 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 13)</span>
<a name="l00592"></a>00592 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#af2f5d3a7d9eae641db7b1e6410d8d0f8">glutKeyboardUpFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> key, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00593"></a>00593 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ae226c68a11e7dc7bb919c8a500f071cb">glutSpecialUpFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">int</span> key, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y));
<a name="l00594"></a>00594 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a464b1e4d6c4080eab11b446ca32c9e3a">glutJoystickFunc</a>(<span class="keywordtype">void</span> (<a class="code" href="glut_8h.html#a207caac251f0305666a3d61a71af5fc7">GLUTCALLBACK</a> *func)(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> buttonMask, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> z), <span class="keywordtype">int</span> pollInterval);
<a name="l00595"></a>00595 <span class="preprocessor">#endif</span>
<a name="l00596"></a>00596 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00597"></a>00597 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00598"></a>00598 <span class="preprocessor"></span>
<a name="l00599"></a>00599 <span class="comment">/* GLUT color index sub-API. */</span>
<a name="l00600"></a>00600 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a9e95c888cf4711e07dd757d93f73217d">glutSetColor</a>(<span class="keywordtype">int</span>, GLfloat red, GLfloat green, GLfloat blue);
<a name="l00601"></a>00601 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> GLfloat <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a8ddf598d6a6d8d935997202472c28949">glutGetColor</a>(<span class="keywordtype">int</span> ndx, <span class="keywordtype">int</span> component);
<a name="l00602"></a>00602 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a5976cfe11e724b6f4491e7755035aae7">glutCopyColormap</a>(<span class="keywordtype">int</span> win);
<a name="l00603"></a>00603 
<a name="l00604"></a>00604 <span class="comment">/* GLUT state retrieval sub-API. */</span>
<a name="l00605"></a>00605 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a1dbcb6b634a9c7c63672aca9bdae4ee9">glutGet</a>(GLenum type);
<a name="l00606"></a>00606 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#acec09f2f73f7c9ebf0b8de6e84ad8089">glutDeviceGet</a>(GLenum type);
<a name="l00607"></a>00607 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 2)</span>
<a name="l00608"></a>00608 <span class="preprocessor"></span><span class="comment">/* GLUT extension support sub-API */</span>
<a name="l00609"></a>00609 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ac74f1efbf5aefc746c2ce0b64c8ede9c">glutExtensionSupported</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00610"></a>00610 <span class="preprocessor">#endif</span>
<a name="l00611"></a>00611 <span class="preprocessor"></span><span class="preprocessor">#if (GLUT_API_VERSION &gt;= 3)</span>
<a name="l00612"></a>00612 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aa1ca712cb006916ba712fccfdda84dc4">glutGetModifiers</a>(<span class="keywordtype">void</span>);
<a name="l00613"></a>00613 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a840d862b7c2f7e5b46401591e1a9e5ee">glutLayerGet</a>(GLenum type);
<a name="l00614"></a>00614 <span class="preprocessor">#endif</span>
<a name="l00615"></a>00615 <span class="preprocessor"></span>
<a name="l00616"></a>00616 <span class="comment">/* GLUT font sub-API */</span>
<a name="l00617"></a>00617 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a014d6c29378b2b5c7063ff5bcd7252e6">glutBitmapCharacter</a>(<span class="keywordtype">void</span> *font, <span class="keywordtype">int</span> character);
<a name="l00618"></a>00618 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a4b9eee6f4d8b2a1134ce32b6612a872a">glutBitmapWidth</a>(<span class="keywordtype">void</span> *font, <span class="keywordtype">int</span> character);
<a name="l00619"></a>00619 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a7b5fabed56d47500eb0c95b830582c00">glutStrokeCharacter</a>(<span class="keywordtype">void</span> *font, <span class="keywordtype">int</span> character);
<a name="l00620"></a>00620 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a568989800e4a9a694fd8f5d3a576a2f2">glutStrokeWidth</a>(<span class="keywordtype">void</span> *font, <span class="keywordtype">int</span> character);
<a name="l00621"></a>00621 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 9)</span>
<a name="l00622"></a>00622 <span class="preprocessor"></span><a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aeadb419eaa7a1513f6296c2f29b461fa">glutBitmapLength</a>(<span class="keywordtype">void</span> *font, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>);
<a name="l00623"></a>00623 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a58a5ff2a55bcc77d43e319402b728ce6">glutStrokeLength</a>(<span class="keywordtype">void</span> *font, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>);
<a name="l00624"></a>00624 <span class="preprocessor">#endif</span>
<a name="l00625"></a>00625 <span class="preprocessor"></span>
<a name="l00626"></a>00626 <span class="comment">/* GLUT pre-built models sub-API */</span>
<a name="l00627"></a>00627 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a349539de2e22663ab63e0deb6d7cef13">glutWireSphere</a>(GLdouble radius, GLint slices, GLint stacks);
<a name="l00628"></a>00628 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a2e03042246b28f171150dbc8f4cd6a90">glutSolidSphere</a>(GLdouble radius, GLint slices, GLint stacks);
<a name="l00629"></a>00629 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aa663cda7c12ce3d6a149821fc445bbf2">glutWireCone</a>(GLdouble base, GLdouble height, GLint slices, GLint stacks);
<a name="l00630"></a>00630 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a1edbbbd4f4c944fb078450e8a0fa59c8">glutSolidCone</a>(GLdouble base, GLdouble height, GLint slices, GLint stacks);
<a name="l00631"></a>00631 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#adca4200437868a3f92f237698f308af4">glutWireCube</a>(GLdouble size);
<a name="l00632"></a>00632 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aa2a5ff4ea8620b9443fcbee9fb10828b">glutSolidCube</a>(GLdouble size);
<a name="l00633"></a>00633 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#abec4a5fe925b0b9e0c9be43e3e711816">glutWireTorus</a>(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings);
<a name="l00634"></a>00634 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a5d55db5aa3d5c39ddc3be7ee0c811e18">glutSolidTorus</a>(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings);
<a name="l00635"></a>00635 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a4a62df06330511cefe5f9dbf4a44eaa1">glutWireDodecahedron</a>(<span class="keywordtype">void</span>);
<a name="l00636"></a>00636 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#aa0372a3f6a7e9ddd9d915240154a75b4">glutSolidDodecahedron</a>(<span class="keywordtype">void</span>);
<a name="l00637"></a>00637 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a36f001c7f741ed0f9cea6d3e690e37d0">glutWireTeapot</a>(GLdouble size);
<a name="l00638"></a>00638 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a5c8ddf8aa5b6c6c129bc54191905d3c5">glutSolidTeapot</a>(GLdouble size);
<a name="l00639"></a>00639 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ab433362e0ff151190ffd43fa3ecd049f">glutWireOctahedron</a>(<span class="keywordtype">void</span>);
<a name="l00640"></a>00640 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a59b4906f54360b013b3f0d3025a686c2">glutSolidOctahedron</a>(<span class="keywordtype">void</span>);
<a name="l00641"></a>00641 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a64e2b4b8257d38d644dec87c61d3e4a2">glutWireTetrahedron</a>(<span class="keywordtype">void</span>);
<a name="l00642"></a>00642 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#af4b5f2cadaa3c92010a07bd807eec435">glutSolidTetrahedron</a>(<span class="keywordtype">void</span>);
<a name="l00643"></a>00643 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a23e5b9ab868b5f2122364dfe206f0ed9">glutWireIcosahedron</a>(<span class="keywordtype">void</span>);
<a name="l00644"></a>00644 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a50236a350e2001d7b1500053a76b0d2c">glutSolidIcosahedron</a>(<span class="keywordtype">void</span>);
<a name="l00645"></a>00645 
<a name="l00646"></a>00646 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 9)</span>
<a name="l00647"></a>00647 <span class="preprocessor"></span><span class="comment">/* GLUT video resize sub-API. */</span>
<a name="l00648"></a>00648 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a4e92e5239863b13ae98c920cccfcc056">glutVideoResizeGet</a>(GLenum param);
<a name="l00649"></a>00649 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ae704bac8178f5cc6c5c7982052106844">glutSetupVideoResizing</a>(<span class="keywordtype">void</span>);
<a name="l00650"></a>00650 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#abaeb145ecfd2c5a0932dfb6d451e0fa6">glutStopVideoResizing</a>(<span class="keywordtype">void</span>);
<a name="l00651"></a>00651 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ab50c7e2c957903f697caecb0d5952773">glutVideoResize</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
<a name="l00652"></a>00652 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a4fe03a9b7b48c37bbe04bc05b80bc417">glutVideoPan</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
<a name="l00653"></a>00653 
<a name="l00654"></a>00654 <span class="comment">/* GLUT debugging sub-API. */</span>
<a name="l00655"></a>00655 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a733ba6aaa5c7cfc7f66839d1cde32937">glutReportErrors</a>(<span class="keywordtype">void</span>);
<a name="l00656"></a>00656 <span class="preprocessor">#endif</span>
<a name="l00657"></a>00657 <span class="preprocessor"></span>
<a name="l00658"></a>00658 <span class="preprocessor">#if (GLUT_API_VERSION &gt;= 4 || GLUT_XLIB_IMPLEMENTATION &gt;= 13)</span>
<a name="l00659"></a>00659 <span class="preprocessor"></span><span class="comment">/* GLUT device control sub-API. */</span>
<a name="l00660"></a>00660 <span class="comment">/* glutSetKeyRepeat modes. */</span>
<a name="l00661"></a><a class="code" href="glut_8h.html#a97bf652f9934e7f7b172b90dc57a97d2">00661</a> <span class="preprocessor">#define GLUT_KEY_REPEAT_OFF             0</span>
<a name="l00662"></a><a class="code" href="glut_8h.html#a5e601d09fb7d1971032ac3cef2a950f7">00662</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_REPEAT_ON              1</span>
<a name="l00663"></a><a class="code" href="glut_8h.html#aeda8b6c2c3def3569930fa47ca8b92cf">00663</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_KEY_REPEAT_DEFAULT         2</span>
<a name="l00664"></a>00664 <span class="preprocessor"></span>
<a name="l00665"></a>00665 <span class="comment">/* Joystick button masks. */</span>
<a name="l00666"></a><a class="code" href="glut_8h.html#a92e09c20d13373321464dd4d60e8a465">00666</a> <span class="preprocessor">#define GLUT_JOYSTICK_BUTTON_A          1</span>
<a name="l00667"></a><a class="code" href="glut_8h.html#a7153c171ec622df15986d4bde7b730c0">00667</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_JOYSTICK_BUTTON_B          2</span>
<a name="l00668"></a><a class="code" href="glut_8h.html#af3728766dd1a9861fc39499733d9b4ef">00668</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_JOYSTICK_BUTTON_C          4</span>
<a name="l00669"></a><a class="code" href="glut_8h.html#a0168522d4667b4e0aa238ccb6b6d92df">00669</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_JOYSTICK_BUTTON_D          8</span>
<a name="l00670"></a>00670 <span class="preprocessor"></span>
<a name="l00671"></a>00671 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a5e88e6cbd44974b50ad37b3f873aa0b7">glutIgnoreKeyRepeat</a>(<span class="keywordtype">int</span> ignore);
<a name="l00672"></a>00672 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ac3bf6ea5c5b697edf0cc743c024193c3">glutSetKeyRepeat</a>(<span class="keywordtype">int</span> repeatMode);
<a name="l00673"></a>00673 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a544ce7e70b3470eccf53cf16a7154856">glutForceJoystickFunc</a>(<span class="keywordtype">void</span>);
<a name="l00674"></a>00674 
<a name="l00675"></a>00675 <span class="comment">/* GLUT game mode sub-API. */</span>
<a name="l00676"></a>00676 <span class="comment">/* glutGameModeGet. */</span>
<a name="l00677"></a><a class="code" href="glut_8h.html#a26815474a9a9159a349209c75ea3a05b">00677</a> <span class="preprocessor">#define GLUT_GAME_MODE_ACTIVE           ((GLenum) 0)</span>
<a name="l00678"></a><a class="code" href="glut_8h.html#a428549955aa4ece9347d1fd240a818ce">00678</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_GAME_MODE_POSSIBLE         ((GLenum) 1)</span>
<a name="l00679"></a><a class="code" href="glut_8h.html#a1f68b63544390dad4a50a3a9f20c04e2">00679</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_GAME_MODE_WIDTH            ((GLenum) 2)</span>
<a name="l00680"></a><a class="code" href="glut_8h.html#ab9994c776abd7f6ecec2bb0ca69ba6c2">00680</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_GAME_MODE_HEIGHT           ((GLenum) 3)</span>
<a name="l00681"></a><a class="code" href="glut_8h.html#a400c2aca3d2351ab7e9826f30ec962ff">00681</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_GAME_MODE_PIXEL_DEPTH      ((GLenum) 4)</span>
<a name="l00682"></a><a class="code" href="glut_8h.html#a5ca74555c4c1f54721d3775390b401eb">00682</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_GAME_MODE_REFRESH_RATE     ((GLenum) 5)</span>
<a name="l00683"></a><a class="code" href="glut_8h.html#af6a13df41198349462708996efc2ff00">00683</a> <span class="preprocessor"></span><span class="preprocessor">#define GLUT_GAME_MODE_DISPLAY_CHANGED  ((GLenum) 6)</span>
<a name="l00684"></a>00684 <span class="preprocessor"></span>
<a name="l00685"></a>00685 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#ae4aa9aaaf290ae03767e6dfd3434abc5">glutGameModeString</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>);
<a name="l00686"></a>00686 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a198d7f54b0086e9ea69c43826103089b">glutEnterGameMode</a>(<span class="keywordtype">void</span>);
<a name="l00687"></a>00687 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">void</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#afa9a345cb734837434150ec4892cfa42">glutLeaveGameMode</a>(<span class="keywordtype">void</span>);
<a name="l00688"></a>00688 <a class="code" href="glut_8h.html#aaffce4b1257a6919684ac58d7e04342e">GLUTAPI</a> <span class="keywordtype">int</span> <a class="code" href="glut_8h.html#a428a91acf2c2439dc1a257708ee1f805">APIENTRY</a> <a class="code" href="glut_8h.html#a637cfc18087be547ca581d26dd8ab2d2">glutGameModeGet</a>(GLenum mode);
<a name="l00689"></a>00689 <span class="preprocessor">#endif</span>
<a name="l00690"></a>00690 <span class="preprocessor"></span>
<a name="l00691"></a>00691 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00692"></a>00692 <span class="preprocessor"></span>}
<a name="l00693"></a>00693 
<a name="l00694"></a>00694 <span class="preprocessor">#endif</span>
<a name="l00695"></a>00695 <span class="preprocessor"></span>
<a name="l00696"></a>00696 <span class="preprocessor">#ifdef GLUT_APIENTRY_DEFINED</span>
<a name="l00697"></a>00697 <span class="preprocessor"></span><span class="preprocessor"># undef GLUT_APIENTRY_DEFINED</span>
<a name="l00698"></a>00698 <span class="preprocessor"></span><span class="preprocessor"># undef APIENTRY</span>
<a name="l00699"></a>00699 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00700"></a>00700 <span class="preprocessor"></span>
<a name="l00701"></a>00701 <span class="preprocessor">#ifdef GLUT_WINGDIAPI_DEFINED</span>
<a name="l00702"></a>00702 <span class="preprocessor"></span><span class="preprocessor"># undef GLUT_WINGDIAPI_DEFINED</span>
<a name="l00703"></a>00703 <span class="preprocessor"></span><span class="preprocessor"># undef WINGDIAPI</span>
<a name="l00704"></a>00704 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00705"></a>00705 <span class="preprocessor"></span>
<a name="l00706"></a>00706 <span class="preprocessor">#ifdef GLUT_DEFINED___CDECL</span>
<a name="l00707"></a>00707 <span class="preprocessor"></span><span class="preprocessor"># undef GLUT_DEFINED___CDECL</span>
<a name="l00708"></a>00708 <span class="preprocessor"></span><span class="preprocessor"># undef __cdecl</span>
<a name="l00709"></a>00709 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00710"></a>00710 <span class="preprocessor"></span>
<a name="l00711"></a>00711 <span class="preprocessor">#ifdef GLUT_DEFINED__CRTIMP</span>
<a name="l00712"></a>00712 <span class="preprocessor"></span><span class="preprocessor"># undef GLUT_DEFINED__CRTIMP</span>
<a name="l00713"></a>00713 <span class="preprocessor"></span><span class="preprocessor"># undef _CRTIMP</span>
<a name="l00714"></a>00714 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00715"></a>00715 <span class="preprocessor"></span>
<a name="l00716"></a>00716 <span class="preprocessor">#endif                  </span><span class="comment">/* __glut_h__ */</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="glut_8h.html">glut.h</a>      </li>
      <li class="footer">Généré le Tue Jan 3 2012 09:33:59 pour LIF041-Infographie par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
